#coding=utf-8
from DataBase.MongoBaseConnect import MongoDBConnect

class MongoOperate:
    def __init__(self):
        self.re = MongoDBConnect.database

    # 获取集合中数据
    def queryCollection(self,name):
        my_col = self.re[name]
        return my_col